package com.smile;

import com.smile.config.FeignConfig;
import com.smile.config.FooConfiguration;
import com.smile.config.MyConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@com.smile.annotation.EnableFeignClients
//@EnableFeignClients(defaultConfiguration =  {FeignConfig.class, FeignRequestInterceptor.class, FooConfiguration.class})
@LoadBalancerClients(defaultConfiguration = {MyConfig.class})
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }

}
